package com.chinasoft.news.service;

import com.chinasoft.news.pojo.Result;
import com.chinasoft.news.pojo.User;
import com.sun.org.apache.xpath.internal.operations.Bool;


public interface UserService {

    Boolean registerUser(User user);


    Result login(User user);

    User getUserInfo(String token);

    User getUserInfo1(Integer userId);


    Boolean update(String password,Integer userId);

    Boolean updateInfo(String nickname,String email,Integer id);

    Boolean updateAvatar(String avatar,Integer id);


}
